package com.game.message.model;

import java.util.List;

import com.eova.common.base.BaseModel;

public class SysteMsage extends BaseModel<SysteMsage>{
	/**
	 * TODO（用一句话描述这个变量表示什么）
	 */

	private static final long serialVersionUID = 1L;
	
	
	public static final SysteMsage dao = new SysteMsage();
	
	/**
	 * 系统消息
	 * 
	 * @param uid
	 * @return
	 */
	public List<SysteMsage> findSysList() {
		String sql = "SELECT id,announceTitle,announceContent,announceType,date_format(releaseTime,'%m月%d日 %h:%m:%s')releaseTime,createTime,isDelete FROM announcement_info";
		
		return this.find(sql);
	}
}